package org.glickr

class FlickrPhotoSet {
    Integer page
    Integer pages
    Integer perPage
    Integer total

    Map params
    ArrayList<FlickrPhoto> photos = []

    String toString(String join='\n') {
        return this.properties.sort{it.key}.collect{it}.findAll{!['metaClass','photos'].contains(it.key)}.join(join)
    }
}
